package com.jc.service.supplierproduct;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.jc.cds.mapper.CustomSupplierProductMapper;
import com.jc.cds.model.CustomSupplierProduct;
import com.jc.ds.base.service.BaseServiceImpl;
import com.jc.ds.model.SupplierProduct;

@SuppressWarnings("all")
@Service
public class SupplierProductServiceImpl extends BaseServiceImpl<SupplierProduct, CustomSupplierProduct, Long> implements SupplierProductService {

	@Override
	public CustomSupplierProductMapper getCustomMapper() {
		return (CustomSupplierProductMapper)this.getBaseCustomMapper();
	}

	@Override
	public List<CustomSupplierProduct> selectProductBySupplier(Map<String,Object> map){
		return this.getCustomMapper().selectProductBySupplier(map);
	}

	@Override
	public List<CustomSupplierProduct> selectProductByLimitOrSupplierName(Map<String,Object> map){
		return this.getCustomMapper().selectProductByLimitOrSupplierName(map);
	}
}
